package com.liu.adapter;
import com.liu.adaptee.Adaptee;
import com.liu.target.Target;

/**
 * 对象适配器类
 * @author liubo
 */
public class ObjectAdapter implements Target {
    private Adaptee adaptee;

    public ObjectAdapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    public void request() {
        adaptee.specificRequest();
    }
}